
namespace GeneticAlgorithms.Factories
{
    /// <summary>
    /// Base interface for genome factories.
    /// </summary>
    /// <typeparam name="TGenome">The type of the genome.</typeparam>
    /// <remarks>
    /// Genome factories are responsible for creating the genomes
    /// that will be manipulated.
    /// </remarks>
    public interface IGenomeFactory<TGenome>
    {
        /// <summary>
        /// Creates a genome.
        /// </summary>
        /// <returns>A new genome object.</returns>
        TGenome CreateGenome();
    }
}
